package com.forever7776.life.core.common.vo;

import util.RelativeDateFormatUtil;

import java.util.List;

/**
 * <p>
 * 用户动弹列表
 * </p>
 *
 * @author kz
 * @date 2018-04-08
 */
public class UserTweetsVO extends UserBaseInfoVO{

    private Integer tweetId;
    private String followId;
    private String content;
    private String insertDate;
    /**
     * 当前登录用户ID
     */
    private String currentUserId;
    /**
     * 动弹阅读量
     */
    private Integer readCount;
    /**
     * 动弹收藏量
     */
    private Integer collectCount;
    /**
     * 动弹点赞量
     */
    private Integer praiseCount;
    /**
     * 评论
     */
    private List<UserCommentVO> comments;

    public Integer getTweetId() {
        return tweetId;
    }

    public void setTweetId(Integer tweetId) {
        this.tweetId = tweetId;
    }

    public String getFollowId() {
        return followId;
    }

    public void setFollowId(String followId) {
        this.followId = followId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getInsertDate() {
        return insertDate;
    }

    public void setInsertDate(String insertDate) {
        this.insertDate = RelativeDateFormatUtil.format(insertDate);
    }

    public String getCurrentUserId() {
        return currentUserId;
    }

    public void setCurrentUserId(String currentUserId) {
        this.currentUserId = currentUserId;
    }

    public List<UserCommentVO> getComments() {
        return comments;
    }

    public void setComments(List<UserCommentVO> comments) {
        this.comments = comments;
    }

    public Integer getReadCount() {
        return readCount;
    }

    public void setReadCount(Integer readCount) {
        this.readCount = readCount;
    }

    public Integer getCollectCount() {
        return collectCount;
    }

    public void setCollectCount(Integer collectCount) {
        this.collectCount = collectCount;
    }

    public Integer getPraiseCount() {
        return praiseCount;
    }

    public void setPraiseCount(Integer praiseCount) {
        this.praiseCount = praiseCount;
    }

    @Override
    public String toString() {
        return "UserTweetsVO{" +
                "tweetId=" + tweetId +
                ", followId='" + followId + '\'' +
                ", content='" + content + '\'' +
                ", insertDate='" + insertDate + '\'' +
                ", readCount=" + readCount +
                ", collectCount=" + collectCount +
                ", praiseCount=" + praiseCount +
                ", comments=" + comments +
                '}';
    }
}
